﻿using System.ComponentModel.DataAnnotations;

namespace Shop.Model.Dto.Admin.Use;

public class UpUserGradeDto
{
    /// <summary>
    /// 用户ID
    /// </summary>
    [Required(ErrorMessage = "用户ID不可为空")]
    public long UserId { get; set; }
    
    /// <summary>
    /// 变化后等级
    /// </summary>
    [Required(ErrorMessage = "变化后等级不可为空")]
    public int ChangeLaterGrade { get; set; }
    
    /// <summary>
    /// 描述
    /// </summary>
    [Required(ErrorMessage = "描述不可为空")]
    public string Title { get; set; }
}